﻿namespace B.S.BasicData.ErrorCode
{
    /// <summary>
    /// 响应包装类
    /// </summary>
    /// <typeparam name="T"></typeparam>
    public class ApiResult<T>
    {
        /// <summary>
        /// 响应状态码
        /// </summary>
        public ApiEnums Code { get; set; }
        /// <summary>
        /// 响应消息
        /// </summary>
        public string Msg {  get; set; }
        /// <summary>
        /// 响应的数据
        /// </summary>
        public T Data { get; set; }
    }
}
